#include<stdio.h>
int main(){

    int a, b, num;
    while (scanf("%d %d", &a, &b) != EOF) // while (scanf("%d %d",&a,&b) == 2)一样
    {
        num = a + b;
        printf("%d\n",num);
    }
    return 0;
}